Give\LegacyPaymentGateways\Adapters\LegacyPaymentGatewayAdapter S

Total Complexity 36
Dependencies 20
Dependents 1
Total lines 429
Lines of code 232
Logical lines of code 78
Comment lines 117
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
handleBeforeGateway()
A
35 7 95
maybeRefundOnGateway()
S
56 7 18
addOptRefundCheckbox()
S
52 2 39
validateDonationFormStatus()
S
61 3 13
getGatewayDataSuccessUrl()
S
66 3 8
getGatewayDataFailedUrl()
S
66 3 8
setSession()
S
67 3 7
getOrCreateDonor()
S
60 2 15
validateGatewayNonce()
S
62 2 12
getGatewayDataCancelUrl()
S
75 2 4
getLegacyFormFieldMarkup()
S
79 1 3
addUrlsToGatewayData()
S
64 1 10